package com.knowledgegraph.zhongyao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.knowledgegraph.common.annotation.Excel;
import com.knowledgegraph.common.core.domain.BaseEntity;

/**
 * 药材维护对象 medicine
 * 
 * @author ruoyi
 * @date 2023-07-03
 */
public class Medicine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药材主键 */
    private String medicineKey;
    private Integer medicineTypeKey;


    private String medicineTypeName;
    /** 药材名称 */
    @Excel(name = "药材名称")
    private String medicineName;

    /** 药材英文名 */
    @Excel(name = "药材英文名")
    private String medicineEnglishName;

    /** 用量 */
    @Excel(name = "用量")
    private String taste;

    /** 功效与作用 */
    @Excel(name = "功效与作用")
    private String function;

    /** 别名 */
    @Excel(name = "别名")
    private String aliasName;

    /** 性状 */
    @Excel(name = "性状")
    private String medicineCharacter;

    /** 产地 */
    @Excel(name = "产地")
    private String chanDi;

    /** 使用禁忌 */
    @Excel(name = "使用禁忌")
    private String jinJi;

    /** 图片 */
    @Excel(name = "图片")
    private String picUrl;

    /** 化学成分 */
    @Excel(name = "化学成分")
    private String chengFen;

    public Integer getMedicineTypeKey() {
        return medicineTypeKey;
    }

    public void setMedicineTypeKey(Integer medicineTypeKey) {
        this.medicineTypeKey = medicineTypeKey;
    }

    public String getMedicineTypeName() {
        return medicineTypeName;
    }

    public void setMedicineTypeName(String medicineTypeName) {
        this.medicineTypeName = medicineTypeName;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String deleteFlag;

    public void setMedicineKey(String medicineKey) 
    {
        this.medicineKey = medicineKey;
    }

    public String getMedicineKey() 
    {
        return medicineKey;
    }
    public void setMedicineName(String medicineName) 
    {
        this.medicineName = medicineName;
    }

    public String getMedicineName() 
    {
        return medicineName;
    }
    public void setMedicineEnglishName(String medicineEnglishName) 
    {
        this.medicineEnglishName = medicineEnglishName;
    }

    public String getMedicineEnglishName() 
    {
        return medicineEnglishName;
    }
    public void setTaste(String taste) 
    {
        this.taste = taste;
    }

    public String getTaste() 
    {
        return taste;
    }
    public void setFunction(String function) 
    {
        this.function = function;
    }

    public String getFunction() 
    {
        return function;
    }
    public void setAliasName(String aliasName) 
    {
        this.aliasName = aliasName;
    }

    public String getAliasName() 
    {
        return aliasName;
    }
    public void setMedicineCharacter(String medicineCharacter) 
    {
        this.medicineCharacter = medicineCharacter;
    }

    public String getMedicineCharacter() 
    {
        return medicineCharacter;
    }
    public void setChanDi(String chanDi) 
    {
        this.chanDi = chanDi;
    }

    public String getChanDi() 
    {
        return chanDi;
    }
    public void setJinJi(String jinJi) 
    {
        this.jinJi = jinJi;
    }

    public String getJinJi() 
    {
        return jinJi;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setChengFen(String chengFen) 
    {
        this.chengFen = chengFen;
    }

    public String getChengFen() 
    {
        return chengFen;
    }
    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medicineKey", getMedicineKey())
            .append("medicineName", getMedicineName())
            .append("medicineEnglishName", getMedicineEnglishName())
            .append("taste", getTaste())
            .append("function", getFunction())
            .append("aliasName", getAliasName())
            .append("medicineCharacter", getMedicineCharacter())
            .append("chanDi", getChanDi())
            .append("jinJi", getJinJi())
            .append("picUrl", getPicUrl())
            .append("chengFen", getChengFen())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
